import 'package:flutter_demo/entities/article_item.dart';

class ArticleDetail extends ArticleItem {
  var items = List<Item>.empty(growable: true);
  var hots = List<ArticleItem>.empty(growable: true);
  var comments = List<Comment>.empty(growable: true);
}

class Item {
  String type = "text";
  String? content;
}

class Link {
  String href = "";
  String title = "";
  String? desc;
}

class Comment {
  String avatar = "";
  String nickname = "";
  String createTime = "";
  String content = "";
  bool isVip = false;
}
